//
//  FirstViewController.h
//  twittsTab2
//
//  Created by Steven Hamilton on 2/25/10.
//  Copyright __MyCompanyName__ 2010. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TwitterRequest.h"
#import "twittsTableViewController.h"

@interface FirstViewController : UIViewController {
	IBOutlet UITextField *usernameField;
	IBOutlet UITextField *passwordField;
	IBOutlet UITextField *doneButtonPressed;
	IBOutlet UIButton *loginButton;
	IBOutlet UIActivityIndicatorView *loginIndicator;
	
	
	//submit tweet tab
	IBOutlet UITextField *tweetMood;
	IBOutlet UITextField *tweetWeight;
	IBOutlet UITextField *tweetCig;
	IBOutlet UITextField *tweetGlucose;
	IBOutlet UIButton *submitAll;
	NSTimer *timer;
	
	
	
	
	
}


@property(nonatomic,retain) UITextField *usernameField;
@property(nonatomic,retain) UITextField *passwordField;
@property(nonatomic,retain) UITextField *doneButtonPressed;
@property(nonatomic,retain) UIButton *loginButton;
@property(nonatomic,retain) UIActivityIndicatorView *loginIndicator;

//submit tweet tab
@property(nonatomic,retain) IBOutlet UITextField *tweetMood;
@property(nonatomic,retain) IBOutlet UITextField *tweetWeight;
@property(nonatomic,retain) IBOutlet UITextField *tweetCig;
@property(nonatomic,retain) IBOutlet UITextField *tweetGlucose;
@property(nonatomic,retain) IBOutlet UIButton *submitAll;
@property (nonatomic, retain) NSTimer * timer;



-(IBAction)login:(id)sender;
-(IBAction)pressDoneKey:(UITextField *)textBoxName;


//submit tweet tab
-(IBAction) submitTweet:(id) sender;
-(IBAction) updateLength:(id) sender;
-(void)submitMood;
-(void)submitWeight;
-(void)submitCigs;
-(void)submitGlucose;

@end
